This is replication materials for Democratic Backsliding as Political Information: How the News Media Transforms its Portrayal of Democracy Over Time

Data Description

* public_nyt_cleaned_articles.rds - This is a collection of NYT articles from 2000 to 2021. Due to copyright restrictions, we cannot provide the raw text for these articles. Instead, we provide data collected using the NYT developer API, which is publicly available. The data includes the title, authors, URL, and publication date of each article. Users can retrieve the raw text for the articles by using the provided URLs. The original data was collected between April 2023 and August 2023.

* glove.rds - Pre-trained GloVe Model

* khodakA.rds - Corresponding transformation for GloVe, as estimated by Khodak et al. (2018).

* Replication codes (in order)
	1. Replication_1_find_nns_nyt.R - Find Neighboring words of democracy. Check the internal/external validity of the model
	2. Replication_2_mkdictionary_nyt.R - Build dictionaries of each model of democracy
	3. Replication_3_dictionary_keyword_variance_nyt.R - Temporal similarities of each dictionary key word and models of democracy in general
	4. Replication_4_juncture_analysis_nyt.R - Juncture Analysis
	5. Replication_5_juncture_ratio_nyt.R - Ratio analysis


Reference
Khodak, M., Saunshi, N., Liang, Y., Ma, T., Stewart, B., & Arora, S. (2018). A la carte embedding: Cheap but effective induction of semantic feature vectors. arXiv preprint arXiv:1805.05388. 


